agents.anac.y2011.ValueModelAgent
Class ValueModelAgent
java.lang.Object
negotiator.Agent
agents.anac.y2011.ValueModelAgent.ValueModelAgent
public class ValueModelAgent
- extends Agent
|
Method Summary |
void |
bestScan()
|
void |
chickenGame(double timeToGive,
double concessionPortion,
double acceptableThresh)
|
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action. |
void |
exploreScan()
|
java.lang.String |
getName()
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called. |
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did |
| Methods inherited from class negotiator.Agent |
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, getVersion, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opponentBids
public BidList opponentBids
ourBids
public BidList ourBids
opponentStartbidUtil
public double opponentStartbidUtil
opponentMaxBidUtil
public double opponentMaxBidUtil
myMaximumUtility
public double myMaximumUtility
noChangeCounter
public double noChangeCounter
ValueModelAgent
public ValueModelAgent()
init
public void init()
- Description copied from class:
Agent
- This method is called by the protocol every time before starting a new
session after the internalInit method is called. User can override this method.
- Overrides:
init in class Agent
ReceiveMessage
public void ReceiveMessage(Action opponentAction)
- Description copied from class:
Agent
- informs you which action the opponent did
- Overrides:
ReceiveMessage in class Agent
chooseAction
public Action chooseAction()
- Description copied from class:
Agent
- this function is called after ReceiveMessage,
with an Offer-action.
- Specified by:
chooseAction in class Agent
- Returns:
- (should return) the bid-action the agent wants to make.
bestScan
public void bestScan()
exploreScan
public void exploreScan()
chickenGame
public void chickenGame(double timeToGive,
double concessionPortion,
double acceptableThresh)
getName
public java.lang.String getName()
- Overrides:
getName in class Agent
- Returns:
- name of the agent.